package com.fqgj.xjd.user.client.request;

import java.io.Serializable;
import java.util.Date;

public class Carrier implements Serializable{

    private static final long serialVersionUID = 1278050977822111218L;

    private Long id;

    private String userCode;

    private String url;

    private Integer carrierType;

    /**
     * 状态 0 初始化 1 认证成功 2 认证失败 3 认证中
     */
    private Integer status;

    private Date createDate;

    private Date gmtDate;

    public Carrier(Long id, String url, Integer carrierType, Date createDate) {
        this.url = url;
        this.id = id;
        this.carrierType = carrierType;
        this.createDate = createDate;
    }

    public Carrier(String url, Integer carrierType, Date gmtDate) {
        this.url = url;
        this.carrierType = carrierType;
        this.gmtDate = gmtDate;
    }


    public Carrier(String url, Integer carrierType, Date gmtDate, Integer status, String userCode) {
        this.url = url;
        this.carrierType = carrierType;
        this.gmtDate = gmtDate;
        this.status = status;
        this.userCode = userCode;
    }


    public Carrier() {
    }

    public Long getId() {
        return id;
    }

    public String getUrl() {
        return url;
    }

    public Integer getCarrierType() {
        return carrierType;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public Carrier setId(Long id) {
        this.id = id;
        return this;
    }

    public Carrier setUrl(String url) {
        this.url = url;
        return this;
    }

    public Carrier setCarrierType(Integer carrierType) {
        this.carrierType = carrierType;
        return this;
    }

    public Carrier setCreateDate(Date createDate) {
        this.createDate = createDate;
        return this;
    }

    public Date getGmtDate() {
        return gmtDate;
    }

    public Carrier setGmtDate(Date gmtDate) {
        this.gmtDate = gmtDate;
        return this;
    }

    public Integer getStatus() {
        return status;
    }

    public Carrier setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getUserCode() {
        return userCode;
    }

    public Carrier setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }
}
